from math import cos
import numpy as np

def fSignal(x):
	return 2*cos(0.5*x) + cos(3*x)

data = np.array(map(fSignal, range(10)))

fft = np.fft.fft(data)
print fft
